home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1997 May / PC Plus Super CD Issue 127 (May 1997).iso / handson / handson.exe / TLUNIT1.DFM / TLUNIT1.txt
Encoding:
Text File  |  1997-02-03  |  5.1 KB  |  241 lines

  1. object Form1: TForm1
  2.   Left = 192
  3.   Top = 119
  4.   Width = 695
  5.   Height = 452
  6.   Caption = 
  7.     'PC Plus Sample Program - Importing Comma-delimited file to a TLi' +
  8.     'st'
  9.   Font.Color = clWindowText
  10.   Font.Height = -13
  11.   Font.Name = 'System'
  12.   Font.Style = []
  13.   Position = poScreenCenter
  14.   OnActivate = FormActivate
  15.   OnClose = FormClose
  16.   PixelsPerInch = 96
  17.   TextHeight = 16
  18.   object TListCreateBtn: TButton
  19.     Left = 8
  20.     Top = 8
  21.     Width = 217
  22.     Height = 33
  23.     Hint = 'You must create a TList before you can add objects to it!'
  24.     Caption = 'TList Create'
  25.     ParentShowHint = False
  26.     ShowHint = True
  27.     TabOrder = 0
  28.     OnClick = TListCreateBtnClick
  29.   end
  30.   object MessageBox: TMemo
  31.     Left = 240
  32.     Top = 8
  33.     Width = 441
  34.     Height = 289
  35.     ScrollBars = ssVertical
  36.     TabOrder = 1
  37.   end
  38.   object FreeThingsBtn: TButton
  39.     Left = 8
  40.     Top = 304
  41.     Width = 217
  42.     Height = 33
  43.     Hint = 
  44.       'Frees the objects in the list. Doesn'#39't free the list itself, tho' +
  45.       'ugh.'
  46.     Caption = 'Destroy all Things'
  47.     ParentShowHint = False
  48.     ShowHint = True
  49.     TabOrder = 2
  50.     OnClick = FreeThingsBtnClick
  51.   end
  52.   object TListDestroyBtn: TButton
  53.     Left = 8
  54.     Top = 48
  55.     Width = 217
  56.     Height = 33
  57.     Hint = 
  58.       'This will only free the TList if you have already freed the obje' +
  59.       'cts in the list.'
  60.     Caption = 'TList Destroy'
  61.     ParentShowHint = False
  62.     ShowHint = True
  63.     TabOrder = 3
  64.     OnClick = TListDestroyBtnClick
  65.   end
  66.   object CountThingsBtn: TButton
  67.     Left = 8
  68.     Top = 384
  69.     Width = 217
  70.     Height = 33
  71.     Hint = 'Counts the number of objects in the TList.'
  72.     Caption = 'Count Things'
  73.     ParentShowHint = False
  74.     ShowHint = True
  75.     TabOrder = 4
  76.     OnClick = CountThingsBtnClick
  77.   end
  78.   object ShowThingsBtn: TButton
  79.     Left = 8
  80.     Top = 344
  81.     Width = 217
  82.     Height = 33
  83.     Hint = 'Displays the data of all objects in the TList.'
  84.     Caption = 'Show Things'
  85.     ParentShowHint = False
  86.     ShowHint = True
  87.     TabOrder = 5
  88.     OnClick = ShowThingsBtnClick
  89.   end
  90.   object ShowFirstBtn: TButton
  91.     Left = 240
  92.     Top = 304
  93.     Width = 217
  94.     Height = 33
  95.     Hint = 'Shows the data in 1st object of TList.'
  96.     Caption = 'Show First Thing'
  97.     ParentShowHint = False
  98.     ShowHint = True
  99.     TabOrder = 6
  100.     OnClick = ShowFirstBtnClick
  101.   end
  102.   object ShowLastBtn: TButton
  103.     Left = 240
  104.     Top = 344
  105.     Width = 217
  106.     Height = 33
  107.     Hint = 'Shows the data in last object of TList.'
  108.     Caption = 'Show Last Thing'
  109.     ParentShowHint = False
  110.     ShowHint = True
  111.     TabOrder = 7
  112.     OnClick = ShowLastBtnClick
  113.   end
  114.   object ExchangeFirstandLastBtn: TButton
  115.     Left = 240
  116.     Top = 384
  117.     Width = 217
  118.     Height = 33
  119.     Hint = 'Swaps the 1st and last objects in the TList.'
  120.     Caption = 'Exchange First and Last'
  121.     ParentShowHint = False
  122.     ShowHint = True
  123.     TabOrder = 8
  124.     OnClick = ExchangeFirstandLastBtnClick
  125.   end
  126.   object ExitBtn: TButton
  127.     Left = 544
  128.     Top = 384
  129.     Width = 137
  130.     Height = 33
  131.     Caption = '&Exit'
  132.     Font.Color = clWindowText
  133.     Font.Height = -16
  134.     Font.Name = 'System'
  135.     Font.Style = []
  136.     ParentFont = False
  137.     ParentShowHint = False
  138.     ShowHint = False
  139.     TabOrder = 9
  140.     OnClick = ExitBtnClick
  141.   end
  142.   object AddTenThingsBtn: TButton
  143.     Left = 8
  144.     Top = 256
  145.     Width = 217
  146.     Height = 33
  147.     Hint = 
  148.       'Click this to let the program create and add ten simple Things t' +
  149.       'o the TList'
  150.     Caption = 'Add Ten Things'
  151.     ParentShowHint = False
  152.     ShowHint = True
  153.     TabOrder = 10
  154.     OnClick = AddTenThingsBtnClick
  155.   end
  156.   object Panel1: TPanel
  157.     Left = 8
  158.     Top = 96
  159.     Width = 217
  160.     Height = 153
  161.     TabOrder = 11
  162.     object Label1: TLabel
  163.       Left = 8
  164.       Top = 16
  165.       Width = 38
  166.       Height = 16
  167.       Caption = 'Name'
  168.     end
  169.     object Label2: TLabel
  170.       Left = 8
  171.       Top = 48
  172.       Width = 74
  173.       Height = 16
  174.       Caption = 'Description'
  175.     end
  176.     object Label3: TLabel
  177.       Left = 8
  178.       Top = 80
  179.       Width = 36
  180.       Height = 16
  181.       Caption = 'Value'
  182.     end
  183.     object NameEd: TEdit
  184.       Left = 88
  185.       Top = 8
  186.       Width = 121
  187.       Height = 24
  188.       TabOrder = 0
  189.     end
  190.     object DescEd: TEdit
  191.       Left = 88
  192.       Top = 40
  193.       Width = 121
  194.       Height = 24
  195.       TabOrder = 1
  196.     end
  197.     object ValEd: TEdit
  198.       Left = 88
  199.       Top = 72
  200.       Width = 121
  201.       Height = 24
  202.       TabOrder = 2
  203.     end
  204.     object AddThingBtn: TButton
  205.       Left = 16
  206.       Top = 104
  207.       Width = 193
  208.       Height = 33
  209.       Hint = 
  210.         'Creates an object containg the data in the 3 fields above. Adds ' +
  211.         'this object to the TList.'
  212.       Caption = 'Add Thing'
  213.       ParentShowHint = False
  214.       ShowHint = True
  215.       TabOrder = 3
  216.       OnClick = AddThingBtnClick
  217.     end
  218.   end
  219.   object ClearMessagesBtn: TButton
  220.     Left = 544
  221.     Top = 304
  222.     Width = 137
  223.     Height = 33
  224.     Hint = 'Clears the list of messages shown above.'
  225.     Caption = 'Clear Messages'
  226.     ParentShowHint = False
  227.     ShowHint = True
  228.     TabOrder = 12
  229.     OnClick = ClearMessagesBtnClick
  230.   end
  231.   object ImportBtn: TButton
  232.     Left = 544
  233.     Top = 344
  234.     Width = 137
  235.     Height = 33
  236.     Caption = '&Import Data'
  237.     TabOrder = 13
  238.     OnClick = ImportBtnClick
  239.   end
  240. end
  241.